package com.hd.sup.modules.vehicle.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hd.sup.modules.vehicle.model.VehicleAlarmDailyStatis;
import com.hd.sup.modules.vehicle.model.VehicleOnOff;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 车辆离线、在线状态 服务类
 * </p>
 *
 * @author chentl123
 * @since 2020-12-28
 */
public interface IVehicleOnOffService extends IService<VehicleOnOff> {

    /**
     * @return java.util.List<java.util.Map < java.lang.String, java.lang.Object>>
     * @author chentl
     * @description 查询车辆行驶记录 分页表格
     * @date 2020/12/31 11:42 上午
     * @params [page, vehicleOnOff]
     */
    List<Map<String, Object>> getVehicleDrivingPage(Page<Map<String, Object>> page, VehicleOnOff vehicleOnOff);

    /**
     * @return void
     * @author chentl
     * @description 同步数据
     * @date 2021/1/5 7:50 下午
     * @params [bo]
     */
    void syncData(VehicleOnOff bo);


}
